package com.zhengqing.design.structure.flyweight._01;

/**
 * <p> 具体的共享对象 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2022/12/21 14:16
 */
public class Circle implements Shape {
    private String color;

    public Circle(String color) {
        this.color = color;
    }

    @Override
    public void draw() {
        System.out.println("圆（" + this.color + "）");
    }
}